<template>
  <!--vue2.0中必须加上根元素div-->
  <div>
    <h1>主页</h1>
    <h2>主页2</h2>
    <h3>{{msg}}</h3>
  </div>
</template>

<script>
export default {
  data() {
    return { msg: "主页面信息", fruits: ["apple", "banana", "pear"] };
  }
};
</script>

<style lang="scss">
</style>

